﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HuanJing_main.aspx.cs"
    Inherits="EnvironmentManagerSystem.HuanJing.HuanJing_main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>建设环境</title>
    <link href="../Script/JQUERY/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />

    <script src="../Script/JQUERY/jquery-1.4.2.js" type="text/javascript"></script>

    <script src="../Script/JQUERY/ui/jquery.ui.core.js" type="text/javascript"></script>

    <script src="../Script/JQUERY/ui/jquery.ui.widget.js" type="text/javascript"></script>

    <script src="../Script/JQUERY/ui/jquery.ui.mouse.js" type="text/javascript"></script>

    <script src="../Script/JQUERY/ui/jquery.ui.sortable.js" type="text/javascript"></script>

    <script src="../Script/JQUERY/ui/jquery.ui.button.js" type="text/javascript"></script>

    <link href="../Script/JQUERY/demos.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .column
        {
            height: 100%;
        }
        .portlet
        {
            margin: 0 1em 1em 0;
        }
        .portlet-header
        {
            text-align: center;
            vertical-align: middle;
            margin: 0.3em;
        }
        .portlet-header .ui-icon
        {
            float: right;
        }
        .portlet-content
        {
            padding: 0.4em;
        }
        .ui-sortable-placeholder
        {
            border: 1px dotted black;
            visibility: visible !important;
            height: 50px !important;
        }
        .ui-sortable-placeholder *
        {
            visibility: hidden;
        }
        /*长度截取*/div.jie
        {
            width: 100px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    </style>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />

    <script src="../Script/zhedie.js" type="text/javascript">
    </script>

    <script type="text/javascript">
	$(function() {
		$("#btn").button({
            icons: {
                primary: 'ui-icon-locked'
            }
        })
	});
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <table style="width: 100%; border-style: hidden; border-width: 0px;">
        <tr>
            <td style="text-align: top; vertical-align: top; width: 20%;">
                <table width="100%">
                    <tr>
                        <td>
                            当前项目：<asp:Label ID="Label1" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
                <br />
                <asp:HiddenField ID="HiddenField1" runat="server" />
            </td>
            <td style="text-align: top; vertical-align: top; width: 80%;">
                <table width="100%">
                    <tr align="center">
                        <td>
                            <asp:Image Width="20" Height="20" runat="server" ID="Image1" ImageUrl="~/images/white-star.png" />
                        </td>
                        <td>
                            <asp:Image ID="Imagea" Width="25" Height="15" ImageUrl="~/images/jiantou.png" runat="server" />
                        </td>
                        <td>
                            <asp:Image Width="20" Height="20" runat="server" ID="Image2" ImageUrl="~/images/white-star.png" />
                        </td>
                        <td>
                            <asp:Image ID="Images" Width="25" Height="15" ImageUrl="~/images/jiantou.png" runat="server" />
                        </td>
                        <td>
                            <asp:Image Width="20" Height="20" runat="server" ID="Image3" ImageUrl="~/images/white-star.png" />
                        </td>
                        <td>
                            <asp:Image ID="Imaged" Width="25" Height="15" ImageUrl="~/images/jiantou.png" runat="server" />
                        </td>
                        <td>
                            <asp:Image Width="20" Height="20" runat="server" ID="Image4" ImageUrl="~/images/white-star.png" />
                        </td>
                        <td>
                            <asp:Image ID="Imageds" Width="25" Height="15" ImageUrl="~/images/jiantou.png" runat="server" />
                        </td>
                        <td>
                            <asp:Image Width="20" Height="20" runat="server" ID="Image5" ImageUrl="~/images/white-star.png" />
                        </td>
                        <td>
                            <asp:Image ID="Images9" Width="25" Height="15" ImageUrl="~/images/jiantou.png" runat="server" />
                        </td>
                        <td>
                            <asp:Image Width="20" Height="20" runat="server" ID="Image6" ImageUrl="~/images/white-star.png" />
                        </td>
                        <td>
                            <asp:Image ID="Imageaa9" Width="25" Height="15" ImageUrl="~/images/jiantou.png" runat="server" />
                        </td>
                        <td>
                            <asp:Image Width="20" Height="20" runat="server" ID="Image7" ImageUrl="~/images/white-star.png" />
                        </td>
                        <td>
                            <asp:Image ID="Imageasa9" Width="25" Height="15" ImageUrl="~/images/jiantou.png"
                                runat="server" />
                        </td>
                        <td>
                            <asp:Image Width="20" Height="20" runat="server" ID="Image8" ImageUrl="~/images/white-star.png" />
                        </td>
                    </tr>
                    <tr align="center">
                        <td>
                            受理
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            部门分配
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            项目负责
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            现场踏查
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            专家会议
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            评估意见
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            项目考评
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            汇总上报
                        </td>
                    </tr>
                    <tr align="center">
                        <td>
                            <asp:Label ID="xiangmushouliren" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="fenpeiquerenren" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="xiangmufuzequerenren" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="tachaquerenren" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label runat="server" ID="zhuanjiahuiyiquerenren"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="pingguyijian" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="xiangmukaopingchuliren" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="reportstate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr align="center">
                        <td>
                            <asp:Label ID="xiangmushoulishijian" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="fenpeiquerenshijian" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="xiangmufuzequerenriqi" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="tachaquerenriqi" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="zhuanjiahuiyiquerenriqi" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="pingguyijianchuliriqi" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="xiangmukaopingchuliriqi" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="reportdate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr align="center">
                        <td>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="Time2" runat="server" Visible="false"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="Time3" runat="server" Visible="false"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="Time4" runat="server" Visible="false"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="Time5" runat="server" Visible="false"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="Time6" runat="server" Visible="false"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="Time7" runat="server" Visible="false"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="Time8" runat="server" Visible="false"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="text-align: left; vertical-align: top; width: 20%;">
                <div class="column">
                    <div class="portlet">
                        <div class="portlet-header">
                            项目列表</div>
                        <div class="portlet-content">
                            <asp:Button ID="btn" runat="server" Text="+创建新项目" Width="100%" OnClick="btn_Click" />
                            <br />
                            <br />
                            搜索：<asp:TextBox ID="txtsou" runat="server" AutoPostBack="True" OnTextChanged="txtsou_TextChanged"
                                Width="100"></asp:TextBox>
                            <br />
                            <br />
                            <asp:GridView ID="pjbgdv" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                OnRowDataBound="pjbgdv_RowDataBound" Style="width: 100%;" CellPadding="3" OnSelectedIndexChanging="pjbgdv_SelectedIndexChanging"
                                OnPageIndexChanged="pjbgdv_PageIndexChanged" OnPageIndexChanging="pjbgdv_PageIndexChanging"
                                PageSize="25" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="0px"
                                OnRowCommand="pjbgdv_RowCommand" DataKeyNames="name">
                                <PagerSettings FirstPageText="第一页" LastPageText="最后一页" NextPageText="下一页" PreviousPageText="上一页"
                                    Mode="NextPreviousFirstLast" />
                                <RowStyle ForeColor="#000066" />
                                <Columns>
                                    <asp:TemplateField HeaderText="编号">
                                        <ItemTemplate>
                                            <%#Container.DataItemIndex+1 %></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="项目名称">
                                        <ItemTemplate>
                                            <div class="jie">
                                                <asp:Label ID="Label1" runat="server" Text='<%# Bind("name") %>' ToolTip='<%# Bind("name") %>'></asp:Label></div>
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("name") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="编辑">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton1" runat="server" Enabled='<%# Eval("projectreportstate").ToString()=="0"?true:false %>'
                                                CommandName='editi' CommandArgument='<%# Eval("name") %>'>编辑</asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField Visible="False">
                                        <ItemTemplate>
                                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("NoticeState") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <FooterStyle BackColor="White" ForeColor="#000066" />
                                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </td>
            <td style="text-align: left; vertical-align: top; width: 80%;">
                <asp:Label ID="RoleID" runat="server" Visible="false"></asp:Label>
                <asp:Panel ID="Panel1" runat="server" Visible="true">
                    <iframe src="tab.aspx" width="1050" height="1200" frameborder="0" marginheight="0"
                        marginwidth="0" scrolling="no"></iframe>
                </asp:Panel>
                <asp:Panel ID="jianshe" runat="server" Visible="false">
                    <iframe src="../DefauleTab.aspx" width="1050" height="1200" frameborder="0"
                        marginheight="0" marginwidth="0" scrolling="no"></iframe>
                </asp:Panel>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
